package com.example.demo.metro.repository;

import com.example.demo.metro.entity.FeedBack;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

public interface FeedBackRepository extends PagingAndSortingRepository<FeedBack, String>, JpaRepository<FeedBack, String>, JpaSpecificationExecutor {

    FeedBack findById(Long id);

    void deleteByIdIn(List<Long> list);
}
